package com.wh.wisdomsite.xbox.core.threadpool;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 线程权重模式
 * @Package com.wh.wisdomsite.xbox.core.threadpool
 * @author 谢泽鹏
 * @date 2014年10月8日 下午4:02:14
 * @Copyright 个人版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2014
 * @version V1.0
 */
public class JobThreadThreshold {

    /**
     * 权重集合
     */
    private Map<String, Integer> threadThreshold = new ConcurrentHashMap<String, Integer>();

    /**
     * 权重编号
     */
    private Integer defaultThreshold;

    public Map<String, Integer> getThreadThreshold() {
        return threadThreshold;
    }

    public void setThreadThreshold(Map<String, Integer> threadThreshold) {
        this.threadThreshold = threadThreshold;
    }

    public Integer getDefaultThreshold() {
        return defaultThreshold;
    }

    public void setDefaultThreshold(Integer defaultThreshold) {
        this.defaultThreshold = defaultThreshold;
    }
}
